#include "Binding.h"
#include "GraphData.h"
#include <vector>

std::vector<std::vector<std::pair<double, double>>> warpEdges(
    const std::vector<BindingInfo>& bindings,
    const std::vector<Node>& nodes,
    int segments = 20,
    double alpha = 0.9
);


void writeWarpedEdgesToCsv(
    const std::vector<std::vector<std::pair<double, double>>>& warpedEdges,
    const std::vector<BindingInfo>& bindings,
    const std::string& filename
);